package com.shop.shoporder.service.impl;

import com.shop.shoporder.entity.order.ViewAdminOrderDetails;
import com.shop.shoporder.mapper.order.ViewAdminOrderDetailsMapper;
import com.shop.shoporder.service.ViewAdminOrderDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("viewAdminOrderDetailsService")
public class ViewAdminOrderDetailsServiceImpl implements ViewAdminOrderDetailsService {
    @Autowired
    ViewAdminOrderDetailsMapper viewAdminOrderDetailsMapper;
    @Override
    public ViewAdminOrderDetails adminSelectOrderDetails(Integer orderId) {
        return viewAdminOrderDetailsMapper.adminSelectOrderDetails(orderId);
    }
}
